package org.idea.ietty.common.config;

/**
 * ietty服务器的配置
 *
 * @Author idea
 * @Date created in 10:23 下午 2020/5/5
 */
public class IettyConfig {

    /**
     * 端口号码
     */
    private Integer port;

    /**
     * 服务名称
     */
    private String serverName;

    /**
     * 请求前缀
     */
    private String serverRequestPrefix;

    /**
     * 超时时长
     */
    private Integer timeOut;

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getServerRequestPrefix() {
        return serverRequestPrefix;
    }

    public void setServerRequestPrefix(String serverRequestPrefix) {
        this.serverRequestPrefix = serverRequestPrefix;
    }

    public Integer getTimeOut() {
        return timeOut;
    }

    public void setTimeOut(Integer timeOut) {
        this.timeOut = timeOut;
    }
}
